//
//  TextButton.m
//  03-HomeWork
//
//  Created by dllo on 16/7/18.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "TextButton.h"

@implementation TextButton
//    通过UILabel封装实现只显示文字的Button
- (void)addTapActionTarget:(nullable id)target action:(SEL)action {
    
    self.userInteractionEnabled = YES;
    self.tap = [[UITapGestureRecognizer alloc] initWithTarget:target action:action];
    [self addGestureRecognizer:_tap];
    
}

@end
